{% set setting = {title:'添加小区信息',beforeLink:['/css/plugins/chosen/chosen.css']} %} {% include "../_partial/head.html" with setting %}
<body>
<style>
    .form-group select,.form-group input {
        width: 100%;
        margin: 0;
    }
    #l-map {height:400px;}
    #r-result {width:100%;}
</style>
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <form class="form-horizontal m-t">
                    <div class="form-group" id="place">
                        <label class="col-sm-2 control-label">省市区域：</label>
                        <p class="col-sm-2">
                            <select name="zoneId1" id="province" required></select>
                        </p>
                        <p class="col-sm-2">
                            <select name="zoneId2" id="city" required></select>
                        </p>
                        <p class="col-sm-2">
                            <select  name="zoneId3" id="country" required></select>
                        </p>
                        <p class="col-sm-2">
                            <select  name="zoneId4" id="plate" required></select>
                        </p>
                    </div>
                    <div class="form-group" style="position: relative;">
                        <label class="col-sm-2 control-label">小区名称：</label>
                        <div class="col-sm-6">
                            <p class="" style="position: relative;">
                                <input name="villageName" placeholder="请输入小区名称" id="villageName" type="text" class="form-control" required>
                                <a href="javascript:;" id="check-villageName" class="btn btn-success">检测是否已存在</a>
                            </p>
                            <ul id="check-villageName-response"></ul>
                        </div>
                        <p class="col-sm-2">
                            <select  name="buildYear" id="buildYear"></select>
                        </p>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">小区位置：</label>
                        <div class="col-sm-8">
                            <input name="villageAddress" placeholder="请输入小区位置" id="suggestId" type="text"  class="form-control" required>
                        </div>
                    </div>
                    <div class="form-group" style="padding:0 15px;">
                        <h5>周边地铁信息：</h5>
                        <ul id="aroundInfo"></ul>
                    </div>
                    <div class="form-group" id="map-box" style="padding: 0 15px;width:85%;height: 400px">
                        <div class="" id="l-map"></div>
                        <a href="javascript:;" class="btn positionEdit">编辑位置</a>
                    </div>
                    <div id="searchResultPanel" style="border:1px solid #C0C0C0;width:150px;height:auto; display:none;"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">开发商：</label>
                        <div class="col-sm-3">
                            <input name="developer" placeholder="请输入开发商" type="text"  class="form-control" >
                        </div>
                        <label class="col-sm-2 control-label">物业公司：</label>
                        <div class="col-sm-3">
                            <input name="propertyCompany" placeholder="请输入物业公司" type="text"  class="form-control" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">物业类型：</label>
                        <div class="col-sm-3">
                            <input name="propertyType" placeholder="请输入物业类型" type="text"  class="form-control" >
                        </div>
                        <label class="col-sm-2 control-label">物业费：</label>
                        <div class="col-sm-3">
                            <input name="propertyFee" placeholder="请输入物业费" type="text"  class="form-control" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-1 control-label">容积率：</label>
                        <div class="col-sm-2">
                            <input name="plotRatio" placeholder="请输入容积率" type="text"  class="form-control" >
                        </div>
                        <label class="col-sm-1 control-label">绿化率：</label>
                        <div class="col-sm-2">
                            <input name="greenRate" placeholder="请输入绿化率" type="text"  class="form-control" >
                        </div>
                        <label class="col-sm-offset-1 col-sm-1 control-label">总户数：</label>
                        <div class="col-sm-2">
                            <input name="households" placeholder="请输入总户数" type="text"  class="form-control" >
                        </div>
                    </div>
                    <input type="hidden" name="longitude" id="longitude">
                    <input type="hidden" name="latitude" id="latitude">
                    <input type="hidden" name="metroInfo" id="metroInfo">
